package com.eamois.service.sys.impl;

import java.util.Collection;

import com.eamois.dao.sys.EquipmentDao;
import com.eamois.domain.sys.Equipment;
import com.eamois.domain.sys.EquipmentType;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.sys.EquipmentService;

public class EquipmentServiceImpl extends BaseServiceImpl<Equipment,EquipmentDao> implements EquipmentService{

	@Override
	public Collection<Equipment> findEquipment(EquipmentType equipmentType) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(equipmentType);
	}

	@Override
	public Collection<Equipment> findAllEquipment() {
		// TODO Auto-generated method stub
		return this.getDao().findAllEquipment();
	}

	@Override
	public Collection<Equipment> findEquipment(String name, String number,String spec,String kind,boolean isLike) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(name, number,spec,kind,isLike);
	}

	@Override
	public Collection<Equipment> findEquipment(String name, String code,
			String kind) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(name, code, kind);
	}

	@Override
	public Collection<Equipment> findEquipment(String name, String code,
			EquipmentType equipmentType) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(name, code, equipmentType);
	}

	@Override
	public Collection<Equipment> findEquipment(String name, String code,
			String kind, EquipmentType equipmentType) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(name, code, kind, equipmentType);
	}

	@Override
	public Collection<Equipment> findEquipmentByNameAndKind(String name,
			String kind) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipmentByNameAndKind(name, kind);
	}

	@Override
	public Collection<Equipment> findEquipment(String name, String number,
			String spec, String model,String kind,String remark) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(name, number,spec,model, kind, remark);
	}

	@Override
	public Collection<String> findEquipmentIds() {
		// TODO Auto-generated method stub
		return this.getDao().findEquipmentIds();
	}

	@Override
	public boolean findEquipment(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipment(id);
	}

	@Override
	public Equipment findEquipmentById(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findEquipmentById(id);
	}

	@Override
	public Collection<Equipment> findByBelongId(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findByBelongId(id);
	}

}
